package nc.itf.hrpbm.fourcgxm.fourcgxm;

import java.util.List;

import nc.vo.fourcgxm.fourcgxm.AggFourcgxmVO;
import nc.vo.hrpbm.budgetprocureproject.BugetProcureProjectHVO;
import nc.vo.pub.BusinessException;
import nc.vo.sjxm.sjxm.AggSjxmVO;

public interface ICGProjectToNCProjectService {
	/**
	 * 将采购系统采购项目转化HOP系统四级采购项目,并保存
	 * @param lists 采购系统采购项目List
	 * @return
	 * @throws BusinessException
	 */
	AggSjxmVO[] saveCGProjectToFourCGXMVOs(List<BugetProcureProjectHVO> lists) throws BusinessException;
	
	/**
	 * HOP四级项目保存成功回写中间表中的数据
	 * @param aggvos 
	 * @return
	 * @throws BusinessException
	 */
    List<BugetProcureProjectHVO> writeCGProject(AggSjxmVO[] aggvos, List<BugetProcureProjectHVO> lists) throws BusinessException;
	
}
